package com.tiancheng.commom.pay.lkl.res;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

/**
 * 拉卡拉主扫支付响应
 */
@Data
public class LklPreorderRes {

    /**
     * 商户号
     */
    @JsonProperty("merchant_no")
    private String merchantNo;
    @JsonProperty("out_trade_no")
    private String outTradeNo;
    @JsonProperty("trade_no")
    private String tradeNo;
    @JsonProperty("log_no")
    private String logNo;
    @JsonProperty("settle_merchant_no")
    private String settleMerchantNo;
    @JsonProperty("settle_term_no")
    private String settleTermNo;
    @JsonProperty("acc_resp_fields")
    private AccRespFields accRespFields;

    @Data
    public static class AccRespFields{
        @JsonProperty("code")
        private String code;
        @JsonProperty("code_image")
        private String codeImage;
        @JsonProperty("prepay_id")
        private String prepayId;
        @JsonProperty("app_id")
        private String appId;
        @JsonProperty("pay_sign")
        private String paySign;
        @JsonProperty("time_stamp")
        private String timeStamp;
        @JsonProperty("nonce_str")
        private String nonceStr;
        @JsonProperty("package")
        private String packageStr;
        @JsonProperty("sign_type")
        private String signType;
        @JsonProperty("form_data")
        private String formData;
        @JsonProperty("redirect_url")
        private String redirectUrl;
        @JsonProperty("best_pay_info")
        private String bestPayInfo;
    }
}
